package artid.com.arttogoa.parser;

import java.io.Serializable;
import org.json.JSONObject;

/**
 * 
*    
* 项目名称：ArtworkArtA   
* 类名称   ：LogisticsInfoParser   
* 类描述   ：物流信息实体类+解析   
* 创建人   ：耿卫斌   
* 创建时间：2016-8-8 下午4:25:23   
*
 */
public class LogisticsInfoParser extends AppItem implements Serializable{
	private static final long serialVersionUID = 1L;
	private String time;
	private String context;
	private String ftime;
	@Override
	public void parse(JSONObject obj) {
		// TODO Auto-generated method stub
		if (null == obj) {
			return;
		}
		time = obj.optString("time");
		context = obj.optString("context");
		ftime = obj.optString("ftime");
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getContext() {
		return context;
	}
	public void setContext(String context) {
		this.context = context;
	}
	public String getFtime() {
		return ftime;
	}
	public void setFtime(String ftime) {
		this.ftime = ftime;
	}
	public LogisticsInfoParser() {
		super();
	}
	public LogisticsInfoParser(String time, String context, String ftime) {
		super();
		this.time = time;
		this.context = context;
		this.ftime = ftime;
	}
	@Override
	public String toString() {
		return "LogisticsInfoParser [time=" + time + ", context=" + context
				+ ", ftime=" + ftime + "]";
	}
}
